package br.com.guiav6.sisguia.dao.hibernate;

import java.util.List;

import org.springframework.stereotype.Repository;

import br.com.guiav6.sisguia.dao.TipoServicoDao;
import br.com.guiav6.sisguia.entity.TipoServico;
import br.com.guiav6.sisguia.repository.hibernate.AbstractDaoHibernate;

@Repository("tipoServicoDao")
public class TipoServicoDaoHibernate extends AbstractDaoHibernate<Long, TipoServico> implements TipoServicoDao {

	@Override
	public List<TipoServico> findAll() {
		// TODO Auto-generated method stub
		return super.findAll();
	}

	@Override
	public void delete(TipoServico tipoServico) {
		getEntityManager().remove(tipoServico);
	}

}